package com.learn.xml_config.basic_label.beans.service;


import com.learn.xml_config.basic_label.beans.dao.UserDao;

import java.util.List;
import java.util.Map;
import java.util.Properties;
import java.util.Set;

public class UserServiceImpl implements UserService {
    public void setName(String name) {
        System.out.println("setName（name:" + name + ")");
    }
    
    public void setUserDao(UserDao userDao) {
        System.out.println("setUserDao（userDao:" + userDao + ")");
    }
    
    public void setStringList(List<String> stringList) {
        System.out.println("setStringList（stringList:" + stringList.toString() + ")");
    }
    
    public void setObjectList1(List<UserDao> objectList) {
        System.out.println("setObjectList1（objectList:" + objectList.toString() + ")");
    }
    
    public void setObjectList2(List<UserDao> objectList) {
        System.out.println("setObjectList2（objectList:" + objectList.toString() + ")");
    }
    
    public void setStringSet(Set<String> stringSet) {
        System.out.println("setStringSet（stringSet:" + stringSet.toString() + ")");
    }
    
    public void setObjectSet(Set<UserDao> objectSet) {
        System.out.println("setObjectSet（objectSet:" + objectSet.toString() + ")");
    }
    
    public void setStringMap(Map<String, String> stringMap) {
        System.out.println("setStringMap（stringMap:" + stringMap.toString() + ")");
    }
    
    public void setObjectMap(Map<String, UserDao> objectMap) {
        System.out.println("setObjectMap（objectMap:" + objectMap.toString() + ")");
    }
    
    public void setProperties(Properties properties) {
        System.out.println("setProperties（properties:" + properties.toString() + ")");
    }
    
    public UserServiceImpl(String name, UserDao userDao, List<String> stringList) {
        System.out.println("有参构造（" +
                "name:" + name +
                ", userDao:" + userDao +
                ", stringList:" + stringList.toString() +
                ")");
    }
}
